package com.xxc

import org.mybatis.spring.annotation.MapperScan
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cache.annotation.EnableCaching
import org.springframework.transaction.annotation.EnableTransactionManagement
import java.rmi.activation.ActivationGroup

@SpringBootApplication
@EnableCaching  //开启缓存
@MapperScan(*["com.xxc.exam.mapper"])
@EnableTransactionManagement
class ExamProApplication

fun main(args: Array<String>) {
    runApplication<ExamProApplication>(*args)
}
